package com.injurydetection.www.bean;

import androidx.annotation.NonNull;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;

import java.util.Date;

/**
 * 被检人员数据表映射实体类
 */
@Entity
public class DataBean {
    @Id(autoincrement = true)
    private Long id;
    private Date createTime;
    @NotNull
    private String number;//编号
    @NotNull
    private String name;//姓名
    private String bloodType;//血型
    @NotNull
    private int score;//伤情评分
    private int scoreLevel;//伤情等级
    private int heartRate;//心率
    private int bloodPressureH;//高压
    private int bloodPressureL;//低压
    private float temperature;//体温
    private int bloodOxygen;//血氧
    private int respiratoryRate;//呼吸率
    private boolean isChecked;//二检

    //睁眼动作
    @NotNull
    private int eye;

    //语言反应
    @NotNull
    private int say;

    //运动反应
    @NotNull
    private int sport;

    //身体热点
    private boolean chest;
    private boolean rightUpperLimb;
    private boolean rightLowLimb;
    private boolean head;
    private boolean neck;
    private boolean leftUpperLimb;
    private boolean abdomen;
    private boolean leftLowLimb;

    @Generated(hash = 445201773)
    public DataBean(Long id, Date createTime, @NotNull String number, @NotNull String name,
                    String bloodType, int score, int scoreLevel, int heartRate, int bloodPressureH,
                    int bloodPressureL, float temperature, int bloodOxygen, int respiratoryRate,
                    boolean isChecked, int eye, int say, int sport, boolean chest, boolean rightUpperLimb,
                    boolean rightLowLimb, boolean head, boolean neck, boolean leftUpperLimb, boolean abdomen,
                    boolean leftLowLimb) {
        this.id = id;
        this.createTime = createTime;
        this.number = number;
        this.name = name;
        this.bloodType = bloodType;
        this.score = score;
        this.scoreLevel = scoreLevel;
        this.heartRate = heartRate;
        this.bloodPressureH = bloodPressureH;
        this.bloodPressureL = bloodPressureL;
        this.temperature = temperature;
        this.bloodOxygen = bloodOxygen;
        this.respiratoryRate = respiratoryRate;
        this.isChecked = isChecked;
        this.eye = eye;
        this.say = say;
        this.sport = sport;
        this.chest = chest;
        this.rightUpperLimb = rightUpperLimb;
        this.rightLowLimb = rightLowLimb;
        this.head = head;
        this.neck = neck;
        this.leftUpperLimb = leftUpperLimb;
        this.abdomen = abdomen;
        this.leftLowLimb = leftLowLimb;
    }

    @Generated(hash = 908697775)
    public DataBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBloodType() {
        return this.bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public int getScore() {
        return this.score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getBloodPressureH() {
        return this.bloodPressureH;
    }

    public void setBloodPressureH(int bloodPressureH) {
        this.bloodPressureH = bloodPressureH;
    }

    public int getBloodPressureL() {
        return this.bloodPressureL;
    }

    public void setBloodPressureL(int bloodPressureL) {
        this.bloodPressureL = bloodPressureL;
    }

    public float getTemperature() {
        return this.temperature;
    }

    public void setTemperature(float temperature) {
        this.temperature = temperature;
    }

    public int getBloodOxygen() {
        return this.bloodOxygen;
    }

    public void setBloodOxygen(int bloodOxygen) {
        this.bloodOxygen = bloodOxygen;
    }

    public int getRespiratoryRate() {
        return this.respiratoryRate;
    }

    public void setRespiratoryRate(int respiratoryRate) {
        this.respiratoryRate = respiratoryRate;
    }

    public boolean getIsChecked() {
        return this.isChecked;
    }

    public void setIsChecked(boolean isChecked) {
        this.isChecked = isChecked;
    }

    public int getEye() {
        return this.eye;
    }

    public void setEye(int eye) {
        this.eye = eye;
    }

    public int getSay() {
        return this.say;
    }

    public void setSay(int say) {
        this.say = say;
    }

    public int getSport() {
        return this.sport;
    }

    public void setSport(int sport) {
        this.sport = sport;
    }

    public boolean getChest() {
        return this.chest;
    }

    public void setChest(boolean chest) {
        this.chest = chest;
    }

    public boolean getRightUpperLimb() {
        return this.rightUpperLimb;
    }

    public void setRightUpperLimb(boolean rightUpperLimb) {
        this.rightUpperLimb = rightUpperLimb;
    }

    public boolean getRightLowLimb() {
        return this.rightLowLimb;
    }

    public void setRightLowLimb(boolean rightLowLimb) {
        this.rightLowLimb = rightLowLimb;
    }

    public boolean getHead() {
        return this.head;
    }

    public void setHead(boolean head) {
        this.head = head;
    }

    public boolean getNeck() {
        return this.neck;
    }

    public void setNeck(boolean neck) {
        this.neck = neck;
    }

    public boolean getLeftUpperLimb() {
        return this.leftUpperLimb;
    }

    public void setLeftUpperLimb(boolean leftUpperLimb) {
        this.leftUpperLimb = leftUpperLimb;
    }

    public boolean getAbdomen() {
        return this.abdomen;
    }

    public void setAbdomen(boolean abdomen) {
        this.abdomen = abdomen;
    }

    public boolean getLeftLowLimb() {
        return this.leftLowLimb;
    }

    public void setLeftLowLimb(boolean leftLowLimb) {
        this.leftLowLimb = leftLowLimb;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getHeartRate() {
        return this.heartRate;
    }

    public void setHeartRate(int heartRate) {
        this.heartRate = heartRate;
    }

    public int getScoreLevel() {
        return this.scoreLevel;
    }

    public void setScoreLevel(int scoreLevel) {
        this.scoreLevel = scoreLevel;
    }

}
